package cn.b.sky.mes.hr.model;

import java.util.Date;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : Shifting.java<br></strong>
 * <strong>Package : cn.b.sky.mes.hr.model<br></strong>
 * <strong>Description : </strong>排班实体类<br> 
 * <strong>Create on : 2016年3月28日 上午9:01:17<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br> 
 */
public class Shifting extends ImeCommon {
  /**
   * 主键
   */
  private Long id;

  /**
   * 排班日期
   */
  private Date theDate;

  /**
   * 职员编号
   */
  private String personnelCode;

  /**
   * 职员名称
   */
  private String personnelName;

  /**
   * 员工类型编号
   */
  private String personnelTypeCode;

  /**
   * 员工类型描述
   */
  private String personnelTypeText;

  /**
   * 工作中心编号
   */
  private String workcenterCode;

  /**
   * 工作中心描述
   */
  private String workcenterText;

  /**
   * 排班工作中心编号
   */
  private String shiftingWorkcenterCode;

  /**
   * 排班工作中心描述
   */
  private String shiftingWorkcenterText;

  /**
   * 开始时间
   */
  private Date startDateTime;

  /**
   * 结束时间
   */
  private Date endDateTime;

  /**
   * 物料编号
   */
  private String materialCode;

  /**
   * 物料描述
   */
  private String materialText;

  /**
   * 备注
   */
  private String memo;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Date getTheDate() {
    return theDate;
  }

  public void setTheDate(Date theDate) {
    this.theDate = theDate;
  }

  public String getPersonnelCode() {
    return StringUtils.upperCase(personnelCode);
  }

  public void setPersonnelCode(String personnelCode) {
    this.personnelCode = personnelCode;
  }

  public String getPersonnelName() {
    return personnelName;
  }

  public void setPersonnelName(String personnelName) {
    this.personnelName = personnelName;
  }

  public String getPersonnelTypeCode() {
    return StringUtils.upperCase(personnelTypeCode);
  }

  public void setPersonnelTypeCode(String personnelTypeCode) {
    this.personnelTypeCode = personnelTypeCode;
  }

  public String getPersonnelTypeText() {
    return personnelTypeText;
  }

  public void setPersonnelTypeText(String personnelTypeText) {
    this.personnelTypeText = personnelTypeText;
  }

  public String getWorkcenterCode() {
    return StringUtils.upperCase(workcenterCode);
  }

  public void setWorkcenterCode(String workcenterCode) {
    this.workcenterCode = workcenterCode;
  }

  public String getWorkcenterText() {
    return workcenterText;
  }

  public void setWorkcenterText(String workcenterText) {
    this.workcenterText = workcenterText;
  }

  public String getShiftingWorkcenterCode() {
    return StringUtils.upperCase(shiftingWorkcenterCode);
  }

  public void setShiftingWorkcenterCode(String shiftingWorkcenterCode) {
    this.shiftingWorkcenterCode = shiftingWorkcenterCode;
  }

  public String getShiftingWorkcenterText() {
    return shiftingWorkcenterText;
  }

  public void setShiftingWorkcenterText(String shiftingWorkcenterText) {
    this.shiftingWorkcenterText = shiftingWorkcenterText;
  }

  public Date getStartDateTime() {
    return startDateTime;
  }

  public void setStartDateTime(Date startDateTime) {
    this.startDateTime = startDateTime;
  }

  public Date getEndDateTime() {
    return endDateTime;
  }

  public void setEndDateTime(Date endDateTime) {
    this.endDateTime = endDateTime;
  }

  public String getMaterialCode() {
    return StringUtils.upperCase(materialCode);
  }

  public void setMaterialCode(String materialCode) {
    this.materialCode = materialCode;
  }

  public String getMaterialText() {
    return materialText;
  }

  public void setMaterialText(String materialText) {
    this.materialText = materialText;
  }

  public String getMemo() {
    return memo;
  }

  public void setMemo(String memo) {
    this.memo = memo;
  }
}
